Skip to content

chore: rename Langfuse env vars to QUALOPS_LANGFUSE_ prefix#301

Merged
valdis merged 2 commits into
mainfrom
chore-langfuse-tracing
Jul 16, 2026
Merged

chore: rename Langfuse env vars to QUALOPS_LANGFUSE_ prefix#301
valdis merged 2 commits into
mainfrom
chore-langfuse-tracing

Conversation

@valdis

@valdis valdis commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Use QUALOPS_LANGFUSE_SECRET_KEY/QUALOPS_LANGFUSE_PUBLIC_KEY/QUALOPS_LANGFUSE_BASE_URL instead of the plain LANGFUSE_* names, passed explicitly into the LangfuseSpanProcessor/LangfuseClient constructors rather than relying on the SDK's own env auto-read. This lets an organization set these vars once for every repo running qualops without colliding with a repo's own unprefixed LANGFUSE_* vars used for unrelated Langfuse projects.

Use QUALOPS_LANGFUSE_SECRET_KEY/QUALOPS_LANGFUSE_PUBLIC_KEY/QUALOPS_LANGFUSE_BASE_URL
instead of the plain LANGFUSE_* names, passed explicitly into the
LangfuseSpanProcessor/LangfuseClient constructors rather than relying on
the SDK's own env auto-read. This lets an organization set these vars
once for every repo running qualops without colliding with a repo's own
unprefixed LANGFUSE_* vars used for unrelated Langfuse projects.
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

QualOps Code Quality Analysis

Status: ✅ PASSED - No issues found

Summary

  • Total Issues: 0
  • Critical: 0 🔴
  • High: 0 🟠
  • Medium: 0 🟡
  • Low: 0 🟢
  • Files Analyzed: 9

No issues found in the analyzed code.

📊 Full Report

View detailed report


Powered by QualOps

… is empty

GitHub Actions sets an unreferenced vars.* to an empty string rather than
omitting it, so an org without QUALOPS_LANGFUSE_BASE_URL configured was
passing baseUrl: '' into LangfuseSpanProcessor. The SDK treats an explicit
empty string as provided rather than falling back to its own default,
producing a relative export URL and a hard failure at startup. Treat an
empty QUALOPS_LANGFUSE_BASE_URL the same as unset.
@valdis
valdis merged commit bca18b1 into main Jul 16, 2026
39 checks passed
@valdis
valdis deleted the chore-langfuse-tracing branch July 16, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants